1738863f7d7dacacc11779bad4b401eab1c030ec,object/src/main/java/com/orientechnologies/orient/object/enhancement/OObjectProxyMethodHandler.java,OObjectProxyMethodHandler,getValue,#Object#String#boolean#Object#,178
Before Change
throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
if (!idOrVersionField) {
if (value == null) {
Object docValue = doc.field(fieldName, OType.getTypeByClass(getField(fieldName, self.getClass()).getType()));
if (docValue != null) {
value = lazyLoadField(self, fieldName, docValue, value);
}
After Change
throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
if (!idOrVersionField) {
if (value == null) {
Object docValue = doc.field(fieldName, OObjectEntitySerializer.getTypeByClass(self.getClass(), fieldName));
if (docValue != null) {
value = lazyLoadField(self, fieldName, docValue, value);
}